package ipt.capitulo7;
import java.util.*;
public class GestionaVolumenes{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		System.out.println("Introduce la altura");
		double altura =sc.nextDouble();
		System.out.println("Introduce el radio");
		double radio =sc.nextDouble();
		Volumen v = new Volumen();
		System.out.printf("El volumen del cilindro es: %6.3f\n",
			v.calculaVolumenCilindro(altura,radio));
	}
}
